package com.demo.service;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.demo.bean.Demo;

import java.util.List;

/**
 * Created by lcs on 2018/9/26.
 */
public interface DemoService {

	Demo add(Demo demo);
	Demo get(Long id);
	IPage<Demo> getPage(int page,int pageSize);
	List<String> getNames();
}
